package com.woniu.outlet.client;

import com.woniu.inlet.web.vo.FixedDayVo;
import com.woniu.inlet.web.vo.FixedMsgVo;
import feign.hystrix.FallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * 创建定投订单时，验证用户余额是否足够
 */
@Component
@FeignClient(name = "finance-usercenter")
public interface FinanceUsercenterFeign {

    @GetMapping("/user/token/check")
    String tokenCheck(@RequestParam("token") String token);
}
